<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>基本设置</title>
<link rel="stylesheet" href="/js/plugin/layui-v2.3.0/layui/css/layui.css">
<link rel="stylesheet" href="/css/reset.css">
<link rel="stylesheet" href="/css/index.css">
<link rel="stylesheet" href="/css/project_set.css">
<script src="/js/jquery-2.1.1.min.js"></script>
<script src="/js/plugin/layui-v2.3.0/layui/layui.js"></script>
<script src="/js/common.js"></script>
</head>
<style>
body, html {
	height: auto;
	color: #333;
}
.nav-section-header-title {
	color: #666;
}
.layui-form-item label {
	color: #999;
	width:100%;
	padding: 0 15px;
}
.layui-inline {
    vertical-align: middle;
}


</style>
<body style="overflow-y: scroll;">

	<div class="nav-section-content-container" style="padding: 0px">
		<header class="nav-header">
			<div class="nav-section-header-title">
				<span>操作日志</span>
			</div>
		</header>
		<div class="kb-form-container">
			<table id="logList" lay-filter="logList" ></table>
		</div>
	</div>
</body>
<script th:inline="javascript">
	layui.use(['table'], function(){
			var table = layui.table;
			table.render({
				elem: '#logList' //指定原始表格元素选择器（推荐id选择器）
				,url:"/app/log/findOptLog"
				,height: 315 //容器高度
				,width:"100%"
				,page:true
				,limit:20
				,limits:[20,40,60]
				,cols: [[
					{field:"ipAddress",title:"IP地址",align:"left",width:200},
					{field:"optModule",title:"模块",align:"center",width:80},
					{field:"optUser",title:"用户",align:"center",width:80},
					{field:"optInfo",title:"操作",align:"center",width:80},
					{field:"created",title:"时间",align:"center"}
				]] //设置表头
			});
		});
</script>
</html>